package cn.wolfcode.crm.util;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * 前台页面数据结果集
 * @author 丧彪
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class PageResult {
 	public static final PageResult EMPTY_RESULT = new PageResult(0,Collections.EMPTY_LIST);
    private int total;  //分页总条数
    private List<?> rows = new ArrayList<>(); //分页数据

}
